Optimal. Leaf size=224 \[ \frac{2 a^3 (c+d x)^{3/2}}{3 d}-\frac{3}{2} \sqrt{\pi } a^2 b \sqrt{d} e^{-\frac{c}{d}} \text{Erfi}\left (\frac{\sqrt{c+d x}}{\sqrt{d}}\right )+3 a^2 b e^x \sqrt{c+d x}-\frac{3}{4} \sqrt{\frac{\pi }{2}} a b^2 \sqrt{d} e^{-\frac{2 c}{d}} \text{Erfi}\left (\frac{\sqrt{2} \sqrt{c+d x}}{\sqrt{d}}\right )+\frac{3}{2} a b^2 e^{2 x} \sqrt{c+d x}-\frac{1}{6} \sqrt{\frac{\pi }{3}} b^3 \sqrt{d} e^{-\frac{3 c}{d}} \text{Erfi}\left (\frac{\sqrt{3} \sqrt{c+d x}}{\sqrt{d}}\right )+\frac{1}{3} b^3 e^{3 x} \sqrt{c+d x} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.449331, antiderivative size = 224, normalized size of antiderivative = 1., number of steps used = 11, number of rules used = 4, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.21 \[ \frac{2 a^3 (c+d x)^{3/2}}{3 d}-\frac{3}{2} \sqrt{\pi } a^2 b \sqrt{d} e^{-\frac{c}{d}} \text{Erfi}\left (\frac{\sqrt{c+d x}}{\sqrt{d}}\right )+3 a^2 b e^x \sqrt{c+d x}-\frac{3}{4} \sqrt{\frac{\pi }{2}} a b^2 \sqrt{d} e^{-\frac{2 c}{d}} \text{Erfi}\left (\frac{\sqrt{2} \sqrt{c+d x}}{\sqrt{d}}\right )+\frac{3}{2} a b^2 e^{2 x} \sqrt{c+d x}-\frac{1}{6} \sqrt{\frac{\pi }{3}} b^3 \sqrt{d} e^{-\frac{3 c}{d}} \text{Erfi}\left (\frac{\sqrt{3} \sqrt{c+d x}}{\sqrt{d}}\right )+\frac{1}{3} b^3 e^{3 x} \sqrt{c+d x} \]
Antiderivative was successfully verified.
[In] Int[(a + b*E^x)^3*Sqrt[c + d*x],x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 37.1849, size = 212, normalized size = 0.95 \[ \frac{2 a^{3} \left (c + d x\right )^{\frac{3}{2}}}{3 d} - \frac{3 \sqrt{\pi } a^{2} b \sqrt{d} e^{- \frac{c}{d}} \operatorname{erfi}{\left (\frac{\sqrt{c + d x}}{\sqrt{d}} \right )}}{2} + 3 a^{2} b \sqrt{c + d x} e^{x} - \frac{3 \sqrt{2} \sqrt{\pi } a b^{2} \sqrt{d} e^{- \frac{2 c}{d}} \operatorname{erfi}{\left (\frac{\sqrt{2} \sqrt{c + d x}}{\sqrt{d}} \right )}}{8} + \frac{3 a b^{2} \sqrt{c + d x} e^{2 x}}{2} - \frac{\sqrt{3} \sqrt{\pi } b^{3} \sqrt{d} e^{- \frac{3 c}{d}} \operatorname{erfi}{\left (\frac{\sqrt{3} \sqrt{c + d x}}{\sqrt{d}} \right )}}{18} + \frac{b^{3} \sqrt{c + d x} e^{3 x}}{3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((a+b*exp(x))**3*(d*x+c)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 1.08626, size = 285, normalized size = 1.27 \[ -\frac{\sqrt{-\frac{c+d x}{d}} \left (-24 a^3 d \left (-\frac{c+d x}{d}\right )^{3/2}+54 a^2 b d e^{-\frac{c}{d}} \left (-\sqrt{\pi } \text{Erf}\left (\sqrt{-\frac{c+d x}{d}}\right )+2 e^{\frac{c}{d}+x} \sqrt{-\frac{c+d x}{d}}+\sqrt{\pi }\right )+27 \sqrt{2} a b^2 d e^{-\frac{2 c}{d}} \left (\sqrt{2} e^{2 \left (\frac{c}{d}+x\right )} \sqrt{-\frac{c+d x}{d}}-\frac{1}{2} \sqrt{\pi } \left (\text{Erf}\left (\sqrt{2} \sqrt{-\frac{c+d x}{d}}\right )-1\right )\right )+2 \sqrt{3} b^3 d e^{-\frac{3 c}{d}} \left (-\sqrt{\pi } \text{Erf}\left (\sqrt{3} \sqrt{-\frac{c+d x}{d}}\right )+2 \sqrt{3} e^{3 \left (\frac{c}{d}+x\right )} \sqrt{-\frac{c+d x}{d}}+\sqrt{\pi }\right )\right )}{36 \sqrt{c+d x}} \]
Antiderivative was successfully verified.
[In] Integrate[(a + b*E^x)^3*Sqrt[c + d*x],x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.007, size = 211, normalized size = 0.9 \[ 2\,{\frac{1}{d} \left ( 1/3\, \left ( dx+c \right ) ^{3/2}{a}^{3}+{{b}^{3} \left ( 1/6\,d\sqrt{dx+c}{{\rm e}^{3\,{\frac{dx+c}{d}}}}-1/12\,{d\sqrt{\pi }{\it Erf} \left ( \sqrt{-3\,{d}^{-1}}\sqrt{dx+c} \right ){\frac{1}{\sqrt{-3\,{d}^{-1}}}}} \right ) \left ({{\rm e}^{{\frac{c}{d}}}} \right ) ^{-3}}+3\,{a{b}^{2} \left ( 1/4\,d\sqrt{dx+c}{{\rm e}^{2\,{\frac{dx+c}{d}}}}-1/8\,{d\sqrt{\pi }{\it Erf} \left ( \sqrt{-2\,{d}^{-1}}\sqrt{dx+c} \right ){\frac{1}{\sqrt{-2\,{d}^{-1}}}}} \right ) \left ({{\rm e}^{{\frac{c}{d}}}} \right ) ^{-2}}+3\,{{a}^{2}b \left ( 1/2\,\sqrt{dx+c}{{\rm e}^{{\frac{dx+c}{d}}}}d-1/4\,{d\sqrt{\pi }{\it Erf} \left ( \sqrt{-{d}^{-1}}\sqrt{dx+c} \right ){\frac{1}{\sqrt{-{d}^{-1}}}}} \right ) \left ({{\rm e}^{{\frac{c}{d}}}} \right ) ^{-1}} \right ) } \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((a+b*exp(x))^3*(d*x+c)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.878151, size = 321, normalized size = 1.43 \[ \frac{48 \,{\left (d x + c\right )}^{\frac{3}{2}} a^{3} - 108 \,{\left (\frac{\sqrt{\pi } d \operatorname{erf}\left (\sqrt{d x + c} \sqrt{-\frac{1}{d}}\right ) e^{\left (-\frac{c}{d}\right )}}{\sqrt{-\frac{1}{d}}} - 2 \, \sqrt{d x + c} d e^{\left (\frac{d x + c}{d} - \frac{c}{d}\right )}\right )} a^{2} b - 27 \,{\left (\frac{\sqrt{2} \sqrt{\pi } d \operatorname{erf}\left (\sqrt{2} \sqrt{d x + c} \sqrt{-\frac{1}{d}}\right ) e^{\left (-\frac{2 \, c}{d}\right )}}{\sqrt{-\frac{1}{d}}} - 4 \, \sqrt{d x + c} d e^{\left (\frac{2 \,{\left (d x + c\right )}}{d} - \frac{2 \, c}{d}\right )}\right )} a b^{2} - 4 \,{\left (\frac{\sqrt{3} \sqrt{\pi } d \operatorname{erf}\left (\sqrt{3} \sqrt{d x + c} \sqrt{-\frac{1}{d}}\right ) e^{\left (-\frac{3 \, c}{d}\right )}}{\sqrt{-\frac{1}{d}}} - 6 \, \sqrt{d x + c} d e^{\left (\frac{3 \,{\left (d x + c\right )}}{d} - \frac{3 \, c}{d}\right )}\right )} b^{3}}{72 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(d*x + c)*(b*e^x + a)^3,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.257096, size = 267, normalized size = 1.19 \[ -\frac{\sqrt{3} \sqrt{2}{\left (18 \, \sqrt{3} \sqrt{2} \sqrt{\pi } a^{2} b \operatorname{erf}\left (\sqrt{d x + c} \sqrt{-\frac{1}{d}}\right ) e^{\left (-\frac{c}{d}\right )} + 9 \, \sqrt{3} \sqrt{\pi } a b^{2} \operatorname{erf}\left (\sqrt{2} \sqrt{d x + c} \sqrt{-\frac{1}{d}}\right ) e^{\left (-\frac{2 \, c}{d}\right )} + 2 \, \sqrt{2} \sqrt{\pi } b^{3} \operatorname{erf}\left (\sqrt{3} \sqrt{d x + c} \sqrt{-\frac{1}{d}}\right ) e^{\left (-\frac{3 \, c}{d}\right )} - \frac{2 \, \sqrt{3} \sqrt{2}{\left (4 \, a^{3} d x + 2 \, b^{3} d e^{\left (3 \, x\right )} + 9 \, a b^{2} d e^{\left (2 \, x\right )} + 18 \, a^{2} b d e^{x} + 4 \, a^{3} c\right )} \sqrt{d x + c} \sqrt{-\frac{1}{d}}}{d}\right )}}{72 \, \sqrt{-\frac{1}{d}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(d*x + c)*(b*e^x + a)^3,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 9.35451, size = 265, normalized size = 1.18 \[ \frac{2 a^{3} \left (c + d x\right )^{\frac{3}{2}}}{3 d} + 3 a^{2} b \sqrt{c + d x} e^{- \frac{c}{d}} e^{\frac{c}{d} + x} + \frac{3 i \sqrt{\pi } a^{2} b e^{- \frac{c}{d}} \operatorname{erf}{\left (i \sqrt{c + d x} \sqrt{\frac{1}{d}} \right )}}{2 \sqrt{\frac{1}{d}}} + \frac{3 a b^{2} \sqrt{c + d x} e^{- \frac{2 c}{d}} e^{\frac{2 c}{d} + 2 x}}{2} + \frac{3 \sqrt{2} i \sqrt{\pi } a b^{2} e^{- \frac{2 c}{d}} \operatorname{erf}{\left (\sqrt{2} i \sqrt{c + d x} \sqrt{\frac{1}{d}} \right )}}{8 \sqrt{\frac{1}{d}}} + \frac{b^{3} \sqrt{c + d x} e^{- \frac{3 c}{d}} e^{\frac{3 c}{d} + 3 x}}{3} + \frac{\sqrt{3} i \sqrt{\pi } b^{3} e^{- \frac{3 c}{d}} \operatorname{erf}{\left (\sqrt{3} i \sqrt{c + d x} \sqrt{\frac{1}{d}} \right )}}{18 \sqrt{\frac{1}{d}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((a+b*exp(x))**3*(d*x+c)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.239575, size = 271, normalized size = 1.21 \[ \frac{48 \,{\left (d x + c\right )}^{\frac{3}{2}} a^{3} + 108 \,{\left (\frac{\sqrt{\pi } d^{2} \operatorname{erf}\left (-\frac{\sqrt{d x + c} \sqrt{-d}}{d}\right ) e^{\left (-\frac{c}{d}\right )}}{\sqrt{-d}} + 2 \, \sqrt{d x + c} d e^{x}\right )} a^{2} b + 27 \,{\left (\frac{\sqrt{2} \sqrt{\pi } d^{2} \operatorname{erf}\left (-\frac{\sqrt{2} \sqrt{d x + c} \sqrt{-d}}{d}\right ) e^{\left (-\frac{2 \, c}{d}\right )}}{\sqrt{-d}} + 4 \, \sqrt{d x + c} d e^{\left (2 \, x\right )}\right )} a b^{2} + 4 \,{\left (\frac{\sqrt{3} \sqrt{\pi } d^{2} \operatorname{erf}\left (-\frac{\sqrt{3} \sqrt{d x + c} \sqrt{-d}}{d}\right ) e^{\left (-\frac{3 \, c}{d}\right )}}{\sqrt{-d}} + 6 \, \sqrt{d x + c} d e^{\left (3 \, x\right )}\right )} b^{3}}{72 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(d*x + c)*(b*e^x + a)^3,x, algorithm="giac")
[Out]